package com.yhp.service;

import com.yhp.bo.OrderItemBO;
import com.yhp.pojo.OrderStatus;
import com.yhp.vo.OrderVO;

//订单服务接口
public interface OrderService {

    //创建订单
    public OrderVO createOrder(OrderItemBO orderItemBO);
    //修改订单支付状态
    public void updateOrderStatus(String orderId,Integer orderStatus);
    //根据订单id查询订单状态
    public OrderStatus  getOrderStatus(String orderId);
    //关闭超时未支付订单
    public void closeOrder();
}
